package com.jy.appmarket.newnetwork;

/**
 * An interface for performing requests.
 */
public interface Network {
	/**
	 * Performs the specified request.
	 * 
	 * @param request
	 *            Request to process
	 * @return A {@link NetworkResponse} with data and caching metadata; will
	 *         never be null
	 * @throws VolleyError
	 *             on errors
	 */
    NetworkResponse performRequest(Request<?> request) throws VolleyError;
}
